package com.retallife.admin.service.Login.Impl;


import com.retallife.admin.dao.Login.LoginMapper;
import com.retallife.admin.pojo.Login.LoginVo;
import com.retallife.admin.service.Login.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    LoginMapper loginMapper;

    /**
     * 查询管理员的账号密码是否存在
     * @param loginVo
     * @return 是否查询有数据
     */
    public int findAdminLoginUser(LoginVo loginVo) {
        return loginMapper.findAdminLoginUser(loginVo);
    }

}
